package com.wt.admin.code.image;

import com.aizuda.easy.security.exp.IErrorCode;

public enum ImageFeatures3000 implements IErrorCode {

    CODE_3000(3000, "特征名称不能为空"),
    CODE_3001(3001, "分类id不能为空"),
    CODE_3002(3002, "id不能为空"),
    CODE_3003(3003, "不能添加重复分类"),
    CODE_3004(3004, "添加的数据不存在"),
    ;


    private Integer code;
    private String msg;

    ImageFeatures3000(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
